export const tableColumns = [{
  title: '序号',
  dataIndex: 'index',
  key: 'index',
  align: "center",
  customRender: (text) => `${text.index + 1}`
},
{
  title: '一级类目ID',
  dataIndex: 'id',
  key: 'id',
  align: "center"
},
{
  title: '一级类目名称',
  dataIndex: 'name',
  key: 'name',
  align: "center"
},
{
  title: '状态',
  dataIndex: 'status',
  key: 'status',
  align: "center"
},
{
  title: '排序',
  dataIndex: 'is_sort',
  key: 'is_sort',
  align: "center"
},
{
  title: '操作',
  dataIndex: 'action',
  key: 'action',
  align: "center"
},
]

export const secondTableColumns = [
  {
    title: '序号',
    dataIndex: 'index',
    key: 'index',
    align: "center",
    customRender: (text) => `${text.index + 1}`
  },
  {
    title: '二级类目ID',
    dataIndex: 'id',
    key: 'id',
    align: "center"
  },
  {
    title: '二级类目名称',
    dataIndex: 'name',
    key: 'name',
    align: "center"
  },
  {
    title: '状态',
    dataIndex: 'status',
    key: 'status',
    align: "center"
  },
  {
    title: '排序',
    dataIndex: 'is_sort',
    key: 'is_sort',
    align: "center"
  },
  {
    title: '操作',
    dataIndex: 'action',
    key: 'action',
    align: "center"
  },]
